Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Application-Defined Functions


Custom Dialog Functions

A dialog hook function handles user selections in a dialog box. A custom dialog function lets you support the template in the custom dialog template that you specified with the CustomGetFilePreview routine. This function corresponds to the File Manager's CustomGetFile routine. See Inside Macintosh: Files for a complete description of the CustomGetFile routine.

You specify your dialog function in the dlgHook parameter of CustomGetFilePreview. You can use this parameter to support a custom dialog box function you have supplied by specifying a dialog template resource in your resource file. You specify the dialog template's resource ID with the dlgID parameter. If you are not supplying a custom dialog function, set this parameter to nil. For more information about using custom dialog functions with the CustomGetFile routine, see Inside Macintosh: Files.


Subtopics
MyDlgHook

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996